package proto

import (
	"bytes"
	"compress/gzip"
	"fmt"
	"io"
	"strings"
)

func bindata_read(data []byte, name string) ([]byte, error) {
	gz, err := gzip.NewReader(bytes.NewBuffer(data))
	if err != nil {
		return nil, fmt.Errorf("Read %q: %v", name, err)
	}

	var buf bytes.Buffer
	_, err = io.Copy(&buf, gz)
	gz.Close()

	if err != nil {
		return nil, fmt.Errorf("Read %q: %v", name, err)
	}

	return buf.Bytes(), nil
}

var _proto_kelvins_template_proto_kelvins_template_kelvins_template_swagger_json = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x57\xcd\x6e\x13\x3d\x14\xdd\xe7\x29\x2c\x7f\xdf\x12\x35\x6d\x82\x58\x74\x57\x45\x5d\xb0\x42\x4a\xc4\x02\xa1\x2a\x72\x66\xee\x4c\x5d\xc6\xf6\xd4\xbe\x0e\x44\x28\x3b\x44\x25\xc4\x16\xa4\x22\x1e\xa0\xfb\xae\x58\xf1\x34\x2d\xf4\x2d\x90\x27\x99\xc4\xf1\x4c\x7e\x44\x68\xa5\xaa\x9d\x55\xc6\x73\xff\xce\xf5\x39\xf6\xcd\xfb\x06\x21\xd4\xbc\x65\x69\x0a\x9a\xee\x13\xda\xda\xd9\xa5\x4f\xdc\x1a\x97\x89\xa2\xfb\xc4\x7d\x27\x84\x22\xc7\x0c\xdc\xf7\x5c\x2b\x54\xcd\x37\x90\x0d\xb9\x34\x7d\x04\x91\x67\x0c\xa1\x5f\xbf\x5c\x59\xd8\x29\xec\x8a\x04\x84\xd0\x21\x68\xc3\x95\x74\x61\xa7\x3f\x89\x54\x48\x0c\x20\x6d\x10\x32\x2e\xca\x88\x94\x34\x56\x80\xa1\xfb\xe4\xf5\xc4\x8b\xe5\x79\xc6\x23\x86\x5c\xc9\xe6\x89\x51\xd2\xd9\x1e\x15\xb6\xb9\x56\xb1\x8d\x36\xb4\x65\x78\x6c\xe6\xf8\x9a\xc3\xbd\xa6\x01\x3d\xe4\x11\xec\xcd\x56\x9d\x99\x45\xef\xd5\xb5\xca\x0a\xc1\xf4\xc8\xd5\x7c\xf5\xfd\xe2\xf7\xcf\xf3\x9b\xb3\xcf\x57\x1f\xcf\xaf\xbf\xfe\xb8\xbe\xfc\xf2\xeb\xdb\x87\xeb\xcb\x8b\x9b\xb3\x4f\x53\x84\x85\x87\xca\x41\x17\x15\x3c\x8f\x9d\xd7\x2b\x65\x75\x6f\x92\xa9\xdf\x2b\x33\x7a\xe6\x1a\x4c\xae\xa4\x01\xb3\x90\x97\x10\xda\xda\xdd\x0d\x96\x08\xa1\x31\x98\x48\xf3\x1c\xa7\x6d\x3c\x20\xc6\x46\x11\x18\x93\xd8\x8c\x94\x91\x76\xbc\xf0\x13\x0c\xd1\x31\x08\x56\x09\x46\x08\xfd\x5f\x43\xe2\xe2\xfc\xd7\x8c\x21\xe1\x92\xbb\xb8\xa6\xb2\x8b\x65\xd9\xdd\x69\x02\xba\x10\x66\xec\xbd\x8d\xfd\xcc\x34\x86\x84\xd9\x0c\xd7\xa3\x90\xc4\x4a\x78\x97\x43\x84\x10\x13\xd0\x5a\xe9\x7f\x07\x46\x5b\x89\x5c\xc0\xa1\x8b\xba\xa2\xf0\x46\x0d\x04\x9a\x33\xcd\x04\x20\xe8\x39\xc5\x26\x4f\x80\x47\x32\x51\x88\x65\xa0\xe2\x51\x58\x2f\x97\xcb\xbe\x68\x38\xb5\x5c\x83\x63\x09\x6a\x0b\xb7\xb6\x69\xa7\x16\x0c\x6e\x02\xfd\xc8\x83\x8e\x2c\x0d\x41\xfb\x54\x9e\x87\x3b\x6a\xf8\x61\xa6\xdd\xf3\xf5\xd5\xf2\xf5\x15\x43\x06\x08\xb7\x2f\xb1\xd6\xfd\x94\x58\xeb\x51\x62\xe5\xb3\x44\x62\x3c\xae\x17\xd8\xa9\x05\xbd\x4a\x61\x09\xcb\x4c\x28\x31\x1c\xe5\x45\x4c\x83\x9a\xcb\x34\x74\x4e\x94\x16\x0c\x8b\x9c\x12\x9f\x3d\xa5\x77\x28\x99\xb6\x2f\x99\x14\xee\xe0\x4a\x6a\xdf\x4f\xbd\xb4\x1f\xf5\x52\x3e\x0f\x47\x2f\xb3\x59\xd1\xeb\xe9\x7c\xb2\x0b\x99\xd2\x51\x42\x28\x39\xe3\x89\x27\xac\x12\x8e\x1a\x9c\x40\x84\x33\x38\x6e\xac\xcc\x41\x23\x0f\xf8\x4f\x23\x15\x43\xa8\x88\xcd\xd8\xda\x05\xec\x38\xe7\xda\x1d\x15\x26\x0d\xa3\x06\x8d\x6e\x84\x7d\x5c\x3c\x38\x96\x65\xab\x81\x1a\xec\x1c\x05\x69\xc5\xc2\x16\xd0\xde\xcb\x4e\xe7\xb0\xd7\xf3\x8f\x83\xc3\x6e\xf7\x45\xb7\x2c\x62\xb6\x81\x9e\x94\x66\x4e\x2b\xcb\x0a\x07\x92\x2d\x76\x82\xc7\x6b\x3a\xb6\xa0\xf9\xa5\xc4\xdc\xac\x9d\x95\xe9\x77\x2b\x0a\x39\x32\xfe\x1d\x89\x02\x22\xd7\x72\x49\x83\xa9\x9e\x6e\x5b\xd2\xa9\x32\x9a\x3c\x4c\xfc\xed\x87\x82\xbf\xf8\xcb\x3e\xb0\xc9\x81\x1c\x6d\x03\xd5\xd9\xf7\xad\xce\x36\x2e\xc6\x83\x31\x64\x99\xad\x1c\xb5\x9b\x49\x7c\x30\x42\x58\x87\x70\xe1\xfe\xdd\x02\x22\x04\x01\x36\xc6\x57\x77\x93\x94\x7e\x5c\x22\xa4\xa0\x57\x1c\x61\xed\xd6\x92\x8b\x04\x8c\x61\xe9\xba\xbe\xd5\xba\xc6\x80\x8c\x67\x95\x79\xaf\x74\x65\x5a\xb3\xc5\x61\x81\x72\x04\x11\xda\x2f\xa5\xb2\x4f\xa9\xfa\x09\xa7\x7a\xc3\x37\xc6\x8d\x3f\x01\x00\x00\xff\xff\x91\xaf\x4b\x02\xac\x12\x00\x00")

func proto_kelvins_template_proto_kelvins_template_kelvins_template_swagger_json() ([]byte, error) {
	return bindata_read(
		_proto_kelvins_template_proto_kelvins_template_kelvins_template_swagger_json,
		"proto/kelvins_template_proto/kelvins_template/kelvins_template.swagger.json",
	)
}

// Asset loads and returns the asset for the given name.
// It returns an error if the asset could not be found or
// could not be loaded.
func Asset(name string) ([]byte, error) {
	cannonicalName := strings.Replace(name, "\\", "/", -1)
	if f, ok := _bindata[cannonicalName]; ok {
		return f()
	}
	return nil, fmt.Errorf("Asset %s not found", name)
}

// AssetNames returns the names of the assets.
func AssetNames() []string {
	names := make([]string, 0, len(_bindata))
	for name := range _bindata {
		names = append(names, name)
	}
	return names
}

// _bindata is a table, holding each asset generator, mapped to its name.
var _bindata = map[string]func() ([]byte, error){
	"proto/kelvins_template_proto/kelvins_template/kelvins_template.swagger.json": proto_kelvins_template_proto_kelvins_template_kelvins_template_swagger_json,
}

// AssetDir returns the file names below a certain
// directory embedded in the file by go-bindata.
// For example if you run go-bindata on data/... and data contains the
// following hierarchy:
//     data/
//       foo.txt
//       img/
//         a.png
//         b.png
// then AssetDir("data") would return []string{"foo.txt", "img"}
// AssetDir("data/img") would return []string{"a.png", "b.png"}
// AssetDir("foo.txt") and AssetDir("notexist") would return an error
// AssetDir("") will return []string{"data"}.
func AssetDir(name string) ([]string, error) {
	node := _bintree
	if len(name) != 0 {
		cannonicalName := strings.Replace(name, "\\", "/", -1)
		pathList := strings.Split(cannonicalName, "/")
		for _, p := range pathList {
			node = node.Children[p]
			if node == nil {
				return nil, fmt.Errorf("Asset %s not found", name)
			}
		}
	}
	if node.Func != nil {
		return nil, fmt.Errorf("Asset %s not found", name)
	}
	rv := make([]string, 0, len(node.Children))
	for name := range node.Children {
		rv = append(rv, name)
	}
	return rv, nil
}

type _bintree_t struct {
	Func     func() ([]byte, error)
	Children map[string]*_bintree_t
}

var _bintree = &_bintree_t{nil, map[string]*_bintree_t{
	"proto": &_bintree_t{nil, map[string]*_bintree_t{
		"kelvins_template_proto": &_bintree_t{nil, map[string]*_bintree_t{
			"kelvins_template": &_bintree_t{nil, map[string]*_bintree_t{
				"kelvins_template.swagger.json": &_bintree_t{proto_kelvins_template_proto_kelvins_template_kelvins_template_swagger_json, map[string]*_bintree_t{}},
			}},
		}},
	}},
}}
